package cn.com.tool;

import android.app.AlertDialog;
import android.content.Context;
import android.widget.Toast;

public class Uitool {
	public static void toast(Context c, String s)
	{
		Toast.makeText(c, s, Toast.LENGTH_LONG).show();
	}
	
	public static void alert(Context c, String title, String message)
	{
		new AlertDialog.Builder(c)
		.setTitle(title)
		.setMessage(message)
		.show();
	}

}
